const rule = {
}
const nub = (rule, value, callback) => {
}
rule.nub = [
    { required: true, message: '编号不能为空', trigger: 'blur' }
]
rule.noNull = (name) => {
    return [
        { required: true, message: name ? name : '名称不能为空', trigger: 'blur' }
    ]
}

export default rule;
